#!/bin/sh

# Creates a 'build' directory and runs cmake in that directory
# to generate platform specific build scripts 

# Create build directory
if [ ! -d ./build ]
then
  mkdir build
fi

# Run CMake to create build files
cd build
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../src

# Exit the build directory
cd ..
